﻿namespace Bll.Systems
{
    using IDal.Systems;
    using System;
    using DALFactory;
    public class GetTableColCount
    {
        private static readonly IGetTableColCount dal = DataAccess.CreateGetTableColCount();

        public static int ReturnTableColCount(string TableName, string StrWhere)
        {
            return dal.ReturnTableColCount(TableName, StrWhere);
        }

        public static int ReturnTableColCount(string dbname, string TableName, string StrWhere)
        {
            return dal.ReturnTableColCount(dbname, TableName, StrWhere);
        }
    }
}

